package com.shenmazong.servertalkadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shenmazong.pojo.TbTeacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component(value = "tbTeacherMapper")
public interface TbTeacherMapper extends BaseMapper<TbTeacher> {
    IPage<TbTeacher> getTeacher4Page(Page<TbTeacher> page);
}
